package com.zhentao.model.common.app.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName app_user_authentication
 */
@TableName(value ="app_user_authentication")
@Data
public class AppUserAuthentication implements Serializable {
    /**
     * 身份证表id
     */
    @TableId(value = "authentication_id", type = IdType.AUTO)
    private Integer authenticationId;

    /**
     * 用户id（外键）
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 身份证正面
     */
    @TableField(value = "front")
    private String front;

    /**
     * 身份证背面
     */
    @TableField(value = "reverse")
    private String reverse;

    /**
     * 审核状态（待审核0 通过1 拒绝2）
     */
    @TableField(value = "authentication_state")
    private Integer authenticationState;

    /**
     * 审核备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 提交时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 审核时间
     */
    @TableField(value = "audit_time")
    private Date auditTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}